<template>
  <div class="box">
    <slot name="content">
        <p>你好</p>
    </slot>
    <div class="author"> 
        作者:<slot name="author">署名</slot>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
.box{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 400px;
    border: 10px solid #862e1e;
    margin: 0 auto;
    overflow: hidden;
}
.author{
    position: absolute;
    bottom: 0;
    right: 0;
}
</style>